package com.example.demo.RoomDeal;

import com.example.demo.model.domian.User;
import lombok.Data;

import java.util.UUID;
@Data
public class Room {
    private String roomId;//生成唯一一个房间id,使用UUID生成
    private User user1;
    private User user2;

    private int whiteUser;

    public Room(){
        roomId= UUID.randomUUID().toString();
    }
}
